package net.zhengxinyun.performance.entity;

import net.zhengxinyun.performance.core.LongEntity;

/**
 * 预警实体类
 */
public class WarnEntity extends LongEntity{

    private String unit;//单位

    private String message;//预警信息

    private String status;//状态

    private Long indexId;//指标id

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getUnit() {
        return unit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column inv_warn.unit
     *
     * @param unit the value for inv_warn.unit
     *
     * @mbg.generated Mon Feb 18 17:04:48 CST 2019
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column inv_warn.message
     *
     * @return the value of inv_warn.message
     *
     * @mbg.generated Mon Feb 18 17:04:48 CST 2019
     */
    public String getMessage() {
        return message;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column inv_warn.message
     *
     * @param message the value for inv_warn.message
     *
     * @mbg.generated Mon Feb 18 17:04:48 CST 2019
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column inv_warn.status
     *
     * @return the value of inv_warn.status
     *
     * @mbg.generated Mon Feb 18 17:04:48 CST 2019
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column inv_warn.status
     *
     * @param status the value for inv_warn.status
     *
     * @mbg.generated Mon Feb 18 17:04:48 CST 2019
     */
    public void setStatus(String status) {
        this.status = status;
    }
}